package com.rc.evcharger.model.order;

import java.math.BigDecimal;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class OrderCommentExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public OrderCommentExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andCommentIdIsNull() {
            addCriterion("comment_id is null");
            return (Criteria) this;
        }

        public Criteria andCommentIdIsNotNull() {
            addCriterion("comment_id is not null");
            return (Criteria) this;
        }

        public Criteria andCommentIdEqualTo(Long value) {
            addCriterion("comment_id =", value, "commentId");
            return (Criteria) this;
        }

        public Criteria andCommentIdNotEqualTo(Long value) {
            addCriterion("comment_id <>", value, "commentId");
            return (Criteria) this;
        }

        public Criteria andCommentIdGreaterThan(Long value) {
            addCriterion("comment_id >", value, "commentId");
            return (Criteria) this;
        }

        public Criteria andCommentIdGreaterThanOrEqualTo(Long value) {
            addCriterion("comment_id >=", value, "commentId");
            return (Criteria) this;
        }

        public Criteria andCommentIdLessThan(Long value) {
            addCriterion("comment_id <", value, "commentId");
            return (Criteria) this;
        }

        public Criteria andCommentIdLessThanOrEqualTo(Long value) {
            addCriterion("comment_id <=", value, "commentId");
            return (Criteria) this;
        }

        public Criteria andCommentIdIn(List<Long> values) {
            addCriterion("comment_id in", values, "commentId");
            return (Criteria) this;
        }

        public Criteria andCommentIdNotIn(List<Long> values) {
            addCriterion("comment_id not in", values, "commentId");
            return (Criteria) this;
        }

        public Criteria andCommentIdBetween(Long value1, Long value2) {
            addCriterion("comment_id between", value1, value2, "commentId");
            return (Criteria) this;
        }

        public Criteria andCommentIdNotBetween(Long value1, Long value2) {
            addCriterion("comment_id not between", value1, value2, "commentId");
            return (Criteria) this;
        }

        public Criteria andTenantCodeIsNull() {
            addCriterion("tenant_code is null");
            return (Criteria) this;
        }

        public Criteria andTenantCodeIsNotNull() {
            addCriterion("tenant_code is not null");
            return (Criteria) this;
        }

        public Criteria andTenantCodeEqualTo(String value) {
            addCriterion("tenant_code =", value, "tenantCode");
            return (Criteria) this;
        }

        public Criteria andTenantCodeNotEqualTo(String value) {
            addCriterion("tenant_code <>", value, "tenantCode");
            return (Criteria) this;
        }

        public Criteria andTenantCodeGreaterThan(String value) {
            addCriterion("tenant_code >", value, "tenantCode");
            return (Criteria) this;
        }

        public Criteria andTenantCodeGreaterThanOrEqualTo(String value) {
            addCriterion("tenant_code >=", value, "tenantCode");
            return (Criteria) this;
        }

        public Criteria andTenantCodeLessThan(String value) {
            addCriterion("tenant_code <", value, "tenantCode");
            return (Criteria) this;
        }

        public Criteria andTenantCodeLessThanOrEqualTo(String value) {
            addCriterion("tenant_code <=", value, "tenantCode");
            return (Criteria) this;
        }

        public Criteria andTenantCodeLike(String value) {
            addCriterion("tenant_code like", value, "tenantCode");
            return (Criteria) this;
        }

        public Criteria andTenantCodeNotLike(String value) {
            addCriterion("tenant_code not like", value, "tenantCode");
            return (Criteria) this;
        }

        public Criteria andTenantCodeIn(List<String> values) {
            addCriterion("tenant_code in", values, "tenantCode");
            return (Criteria) this;
        }

        public Criteria andTenantCodeNotIn(List<String> values) {
            addCriterion("tenant_code not in", values, "tenantCode");
            return (Criteria) this;
        }

        public Criteria andTenantCodeBetween(String value1, String value2) {
            addCriterion("tenant_code between", value1, value2, "tenantCode");
            return (Criteria) this;
        }

        public Criteria andTenantCodeNotBetween(String value1, String value2) {
            addCriterion("tenant_code not between", value1, value2, "tenantCode");
            return (Criteria) this;
        }

        public Criteria andTenantOperatorCodeIsNull() {
            addCriterion("tenant_operator_code is null");
            return (Criteria) this;
        }

        public Criteria andTenantOperatorCodeIsNotNull() {
            addCriterion("tenant_operator_code is not null");
            return (Criteria) this;
        }

        public Criteria andTenantOperatorCodeEqualTo(String value) {
            addCriterion("tenant_operator_code =", value, "tenantOperatorCode");
            return (Criteria) this;
        }

        public Criteria andTenantOperatorCodeNotEqualTo(String value) {
            addCriterion("tenant_operator_code <>", value, "tenantOperatorCode");
            return (Criteria) this;
        }

        public Criteria andTenantOperatorCodeGreaterThan(String value) {
            addCriterion("tenant_operator_code >", value, "tenantOperatorCode");
            return (Criteria) this;
        }

        public Criteria andTenantOperatorCodeGreaterThanOrEqualTo(String value) {
            addCriterion("tenant_operator_code >=", value, "tenantOperatorCode");
            return (Criteria) this;
        }

        public Criteria andTenantOperatorCodeLessThan(String value) {
            addCriterion("tenant_operator_code <", value, "tenantOperatorCode");
            return (Criteria) this;
        }

        public Criteria andTenantOperatorCodeLessThanOrEqualTo(String value) {
            addCriterion("tenant_operator_code <=", value, "tenantOperatorCode");
            return (Criteria) this;
        }

        public Criteria andTenantOperatorCodeLike(String value) {
            addCriterion("tenant_operator_code like", value, "tenantOperatorCode");
            return (Criteria) this;
        }

        public Criteria andTenantOperatorCodeNotLike(String value) {
            addCriterion("tenant_operator_code not like", value, "tenantOperatorCode");
            return (Criteria) this;
        }

        public Criteria andTenantOperatorCodeIn(List<String> values) {
            addCriterion("tenant_operator_code in", values, "tenantOperatorCode");
            return (Criteria) this;
        }

        public Criteria andTenantOperatorCodeNotIn(List<String> values) {
            addCriterion("tenant_operator_code not in", values, "tenantOperatorCode");
            return (Criteria) this;
        }

        public Criteria andTenantOperatorCodeBetween(String value1, String value2) {
            addCriterion("tenant_operator_code between", value1, value2, "tenantOperatorCode");
            return (Criteria) this;
        }

        public Criteria andTenantOperatorCodeNotBetween(String value1, String value2) {
            addCriterion("tenant_operator_code not between", value1, value2, "tenantOperatorCode");
            return (Criteria) this;
        }

        public Criteria andHlhtTenantCodeIsNull() {
            addCriterion("hlht_tenant_code is null");
            return (Criteria) this;
        }

        public Criteria andHlhtTenantCodeIsNotNull() {
            addCriterion("hlht_tenant_code is not null");
            return (Criteria) this;
        }

        public Criteria andHlhtTenantCodeEqualTo(String value) {
            addCriterion("hlht_tenant_code =", value, "hlhtTenantCode");
            return (Criteria) this;
        }

        public Criteria andHlhtTenantCodeNotEqualTo(String value) {
            addCriterion("hlht_tenant_code <>", value, "hlhtTenantCode");
            return (Criteria) this;
        }

        public Criteria andHlhtTenantCodeGreaterThan(String value) {
            addCriterion("hlht_tenant_code >", value, "hlhtTenantCode");
            return (Criteria) this;
        }

        public Criteria andHlhtTenantCodeGreaterThanOrEqualTo(String value) {
            addCriterion("hlht_tenant_code >=", value, "hlhtTenantCode");
            return (Criteria) this;
        }

        public Criteria andHlhtTenantCodeLessThan(String value) {
            addCriterion("hlht_tenant_code <", value, "hlhtTenantCode");
            return (Criteria) this;
        }

        public Criteria andHlhtTenantCodeLessThanOrEqualTo(String value) {
            addCriterion("hlht_tenant_code <=", value, "hlhtTenantCode");
            return (Criteria) this;
        }

        public Criteria andHlhtTenantCodeLike(String value) {
            addCriterion("hlht_tenant_code like", value, "hlhtTenantCode");
            return (Criteria) this;
        }

        public Criteria andHlhtTenantCodeNotLike(String value) {
            addCriterion("hlht_tenant_code not like", value, "hlhtTenantCode");
            return (Criteria) this;
        }

        public Criteria andHlhtTenantCodeIn(List<String> values) {
            addCriterion("hlht_tenant_code in", values, "hlhtTenantCode");
            return (Criteria) this;
        }

        public Criteria andHlhtTenantCodeNotIn(List<String> values) {
            addCriterion("hlht_tenant_code not in", values, "hlhtTenantCode");
            return (Criteria) this;
        }

        public Criteria andHlhtTenantCodeBetween(String value1, String value2) {
            addCriterion("hlht_tenant_code between", value1, value2, "hlhtTenantCode");
            return (Criteria) this;
        }

        public Criteria andHlhtTenantCodeNotBetween(String value1, String value2) {
            addCriterion("hlht_tenant_code not between", value1, value2, "hlhtTenantCode");
            return (Criteria) this;
        }

        public Criteria andHlhtOperatorIdIsNull() {
            addCriterion("hlht_operator_id is null");
            return (Criteria) this;
        }

        public Criteria andHlhtOperatorIdIsNotNull() {
            addCriterion("hlht_operator_id is not null");
            return (Criteria) this;
        }

        public Criteria andHlhtOperatorIdEqualTo(String value) {
            addCriterion("hlht_operator_id =", value, "hlhtOperatorId");
            return (Criteria) this;
        }

        public Criteria andHlhtOperatorIdNotEqualTo(String value) {
            addCriterion("hlht_operator_id <>", value, "hlhtOperatorId");
            return (Criteria) this;
        }

        public Criteria andHlhtOperatorIdGreaterThan(String value) {
            addCriterion("hlht_operator_id >", value, "hlhtOperatorId");
            return (Criteria) this;
        }

        public Criteria andHlhtOperatorIdGreaterThanOrEqualTo(String value) {
            addCriterion("hlht_operator_id >=", value, "hlhtOperatorId");
            return (Criteria) this;
        }

        public Criteria andHlhtOperatorIdLessThan(String value) {
            addCriterion("hlht_operator_id <", value, "hlhtOperatorId");
            return (Criteria) this;
        }

        public Criteria andHlhtOperatorIdLessThanOrEqualTo(String value) {
            addCriterion("hlht_operator_id <=", value, "hlhtOperatorId");
            return (Criteria) this;
        }

        public Criteria andHlhtOperatorIdLike(String value) {
            addCriterion("hlht_operator_id like", value, "hlhtOperatorId");
            return (Criteria) this;
        }

        public Criteria andHlhtOperatorIdNotLike(String value) {
            addCriterion("hlht_operator_id not like", value, "hlhtOperatorId");
            return (Criteria) this;
        }

        public Criteria andHlhtOperatorIdIn(List<String> values) {
            addCriterion("hlht_operator_id in", values, "hlhtOperatorId");
            return (Criteria) this;
        }

        public Criteria andHlhtOperatorIdNotIn(List<String> values) {
            addCriterion("hlht_operator_id not in", values, "hlhtOperatorId");
            return (Criteria) this;
        }

        public Criteria andHlhtOperatorIdBetween(String value1, String value2) {
            addCriterion("hlht_operator_id between", value1, value2, "hlhtOperatorId");
            return (Criteria) this;
        }

        public Criteria andHlhtOperatorIdNotBetween(String value1, String value2) {
            addCriterion("hlht_operator_id not between", value1, value2, "hlhtOperatorId");
            return (Criteria) this;
        }

        public Criteria andMemberIdIsNull() {
            addCriterion("member_id is null");
            return (Criteria) this;
        }

        public Criteria andMemberIdIsNotNull() {
            addCriterion("member_id is not null");
            return (Criteria) this;
        }

        public Criteria andMemberIdEqualTo(Long value) {
            addCriterion("member_id =", value, "memberId");
            return (Criteria) this;
        }

        public Criteria andMemberIdNotEqualTo(Long value) {
            addCriterion("member_id <>", value, "memberId");
            return (Criteria) this;
        }

        public Criteria andMemberIdGreaterThan(Long value) {
            addCriterion("member_id >", value, "memberId");
            return (Criteria) this;
        }

        public Criteria andMemberIdGreaterThanOrEqualTo(Long value) {
            addCriterion("member_id >=", value, "memberId");
            return (Criteria) this;
        }

        public Criteria andMemberIdLessThan(Long value) {
            addCriterion("member_id <", value, "memberId");
            return (Criteria) this;
        }

        public Criteria andMemberIdLessThanOrEqualTo(Long value) {
            addCriterion("member_id <=", value, "memberId");
            return (Criteria) this;
        }

        public Criteria andMemberIdIn(List<Long> values) {
            addCriterion("member_id in", values, "memberId");
            return (Criteria) this;
        }

        public Criteria andMemberIdNotIn(List<Long> values) {
            addCriterion("member_id not in", values, "memberId");
            return (Criteria) this;
        }

        public Criteria andMemberIdBetween(Long value1, Long value2) {
            addCriterion("member_id between", value1, value2, "memberId");
            return (Criteria) this;
        }

        public Criteria andMemberIdNotBetween(Long value1, Long value2) {
            addCriterion("member_id not between", value1, value2, "memberId");
            return (Criteria) this;
        }

        public Criteria andElecStationIdIsNull() {
            addCriterion("elec_station_id is null");
            return (Criteria) this;
        }

        public Criteria andElecStationIdIsNotNull() {
            addCriterion("elec_station_id is not null");
            return (Criteria) this;
        }

        public Criteria andElecStationIdEqualTo(Long value) {
            addCriterion("elec_station_id =", value, "elecStationId");
            return (Criteria) this;
        }

        public Criteria andElecStationIdNotEqualTo(Long value) {
            addCriterion("elec_station_id <>", value, "elecStationId");
            return (Criteria) this;
        }

        public Criteria andElecStationIdGreaterThan(Long value) {
            addCriterion("elec_station_id >", value, "elecStationId");
            return (Criteria) this;
        }

        public Criteria andElecStationIdGreaterThanOrEqualTo(Long value) {
            addCriterion("elec_station_id >=", value, "elecStationId");
            return (Criteria) this;
        }

        public Criteria andElecStationIdLessThan(Long value) {
            addCriterion("elec_station_id <", value, "elecStationId");
            return (Criteria) this;
        }

        public Criteria andElecStationIdLessThanOrEqualTo(Long value) {
            addCriterion("elec_station_id <=", value, "elecStationId");
            return (Criteria) this;
        }

        public Criteria andElecStationIdIn(List<Long> values) {
            addCriterion("elec_station_id in", values, "elecStationId");
            return (Criteria) this;
        }

        public Criteria andElecStationIdNotIn(List<Long> values) {
            addCriterion("elec_station_id not in", values, "elecStationId");
            return (Criteria) this;
        }

        public Criteria andElecStationIdBetween(Long value1, Long value2) {
            addCriterion("elec_station_id between", value1, value2, "elecStationId");
            return (Criteria) this;
        }

        public Criteria andElecStationIdNotBetween(Long value1, Long value2) {
            addCriterion("elec_station_id not between", value1, value2, "elecStationId");
            return (Criteria) this;
        }

        public Criteria andElecPileIdIsNull() {
            addCriterion("elec_pile_id is null");
            return (Criteria) this;
        }

        public Criteria andElecPileIdIsNotNull() {
            addCriterion("elec_pile_id is not null");
            return (Criteria) this;
        }

        public Criteria andElecPileIdEqualTo(Long value) {
            addCriterion("elec_pile_id =", value, "elecPileId");
            return (Criteria) this;
        }

        public Criteria andElecPileIdNotEqualTo(Long value) {
            addCriterion("elec_pile_id <>", value, "elecPileId");
            return (Criteria) this;
        }

        public Criteria andElecPileIdGreaterThan(Long value) {
            addCriterion("elec_pile_id >", value, "elecPileId");
            return (Criteria) this;
        }

        public Criteria andElecPileIdGreaterThanOrEqualTo(Long value) {
            addCriterion("elec_pile_id >=", value, "elecPileId");
            return (Criteria) this;
        }

        public Criteria andElecPileIdLessThan(Long value) {
            addCriterion("elec_pile_id <", value, "elecPileId");
            return (Criteria) this;
        }

        public Criteria andElecPileIdLessThanOrEqualTo(Long value) {
            addCriterion("elec_pile_id <=", value, "elecPileId");
            return (Criteria) this;
        }

        public Criteria andElecPileIdIn(List<Long> values) {
            addCriterion("elec_pile_id in", values, "elecPileId");
            return (Criteria) this;
        }

        public Criteria andElecPileIdNotIn(List<Long> values) {
            addCriterion("elec_pile_id not in", values, "elecPileId");
            return (Criteria) this;
        }

        public Criteria andElecPileIdBetween(Long value1, Long value2) {
            addCriterion("elec_pile_id between", value1, value2, "elecPileId");
            return (Criteria) this;
        }

        public Criteria andElecPileIdNotBetween(Long value1, Long value2) {
            addCriterion("elec_pile_id not between", value1, value2, "elecPileId");
            return (Criteria) this;
        }

        public Criteria andElecGunIdIsNull() {
            addCriterion("elec_gun_id is null");
            return (Criteria) this;
        }

        public Criteria andElecGunIdIsNotNull() {
            addCriterion("elec_gun_id is not null");
            return (Criteria) this;
        }

        public Criteria andElecGunIdEqualTo(Long value) {
            addCriterion("elec_gun_id =", value, "elecGunId");
            return (Criteria) this;
        }

        public Criteria andElecGunIdNotEqualTo(Long value) {
            addCriterion("elec_gun_id <>", value, "elecGunId");
            return (Criteria) this;
        }

        public Criteria andElecGunIdGreaterThan(Long value) {
            addCriterion("elec_gun_id >", value, "elecGunId");
            return (Criteria) this;
        }

        public Criteria andElecGunIdGreaterThanOrEqualTo(Long value) {
            addCriterion("elec_gun_id >=", value, "elecGunId");
            return (Criteria) this;
        }

        public Criteria andElecGunIdLessThan(Long value) {
            addCriterion("elec_gun_id <", value, "elecGunId");
            return (Criteria) this;
        }

        public Criteria andElecGunIdLessThanOrEqualTo(Long value) {
            addCriterion("elec_gun_id <=", value, "elecGunId");
            return (Criteria) this;
        }

        public Criteria andElecGunIdIn(List<Long> values) {
            addCriterion("elec_gun_id in", values, "elecGunId");
            return (Criteria) this;
        }

        public Criteria andElecGunIdNotIn(List<Long> values) {
            addCriterion("elec_gun_id not in", values, "elecGunId");
            return (Criteria) this;
        }

        public Criteria andElecGunIdBetween(Long value1, Long value2) {
            addCriterion("elec_gun_id between", value1, value2, "elecGunId");
            return (Criteria) this;
        }

        public Criteria andElecGunIdNotBetween(Long value1, Long value2) {
            addCriterion("elec_gun_id not between", value1, value2, "elecGunId");
            return (Criteria) this;
        }

        public Criteria andAccountTypeIsNull() {
            addCriterion("account_type is null");
            return (Criteria) this;
        }

        public Criteria andAccountTypeIsNotNull() {
            addCriterion("account_type is not null");
            return (Criteria) this;
        }

        public Criteria andAccountTypeEqualTo(String value) {
            addCriterion("account_type =", value, "accountType");
            return (Criteria) this;
        }

        public Criteria andAccountTypeNotEqualTo(String value) {
            addCriterion("account_type <>", value, "accountType");
            return (Criteria) this;
        }

        public Criteria andAccountTypeGreaterThan(String value) {
            addCriterion("account_type >", value, "accountType");
            return (Criteria) this;
        }

        public Criteria andAccountTypeGreaterThanOrEqualTo(String value) {
            addCriterion("account_type >=", value, "accountType");
            return (Criteria) this;
        }

        public Criteria andAccountTypeLessThan(String value) {
            addCriterion("account_type <", value, "accountType");
            return (Criteria) this;
        }

        public Criteria andAccountTypeLessThanOrEqualTo(String value) {
            addCriterion("account_type <=", value, "accountType");
            return (Criteria) this;
        }

        public Criteria andAccountTypeLike(String value) {
            addCriterion("account_type like", value, "accountType");
            return (Criteria) this;
        }

        public Criteria andAccountTypeNotLike(String value) {
            addCriterion("account_type not like", value, "accountType");
            return (Criteria) this;
        }

        public Criteria andAccountTypeIn(List<String> values) {
            addCriterion("account_type in", values, "accountType");
            return (Criteria) this;
        }

        public Criteria andAccountTypeNotIn(List<String> values) {
            addCriterion("account_type not in", values, "accountType");
            return (Criteria) this;
        }

        public Criteria andAccountTypeBetween(String value1, String value2) {
            addCriterion("account_type between", value1, value2, "accountType");
            return (Criteria) this;
        }

        public Criteria andAccountTypeNotBetween(String value1, String value2) {
            addCriterion("account_type not between", value1, value2, "accountType");
            return (Criteria) this;
        }

        public Criteria andOrderNumIsNull() {
            addCriterion("order_num is null");
            return (Criteria) this;
        }

        public Criteria andOrderNumIsNotNull() {
            addCriterion("order_num is not null");
            return (Criteria) this;
        }

        public Criteria andOrderNumEqualTo(String value) {
            addCriterion("order_num =", value, "orderNum");
            return (Criteria) this;
        }

        public Criteria andOrderNumNotEqualTo(String value) {
            addCriterion("order_num <>", value, "orderNum");
            return (Criteria) this;
        }

        public Criteria andOrderNumGreaterThan(String value) {
            addCriterion("order_num >", value, "orderNum");
            return (Criteria) this;
        }

        public Criteria andOrderNumGreaterThanOrEqualTo(String value) {
            addCriterion("order_num >=", value, "orderNum");
            return (Criteria) this;
        }

        public Criteria andOrderNumLessThan(String value) {
            addCriterion("order_num <", value, "orderNum");
            return (Criteria) this;
        }

        public Criteria andOrderNumLessThanOrEqualTo(String value) {
            addCriterion("order_num <=", value, "orderNum");
            return (Criteria) this;
        }

        public Criteria andOrderNumLike(String value) {
            addCriterion("order_num like", value, "orderNum");
            return (Criteria) this;
        }

        public Criteria andOrderNumNotLike(String value) {
            addCriterion("order_num not like", value, "orderNum");
            return (Criteria) this;
        }

        public Criteria andOrderNumIn(List<String> values) {
            addCriterion("order_num in", values, "orderNum");
            return (Criteria) this;
        }

        public Criteria andOrderNumNotIn(List<String> values) {
            addCriterion("order_num not in", values, "orderNum");
            return (Criteria) this;
        }

        public Criteria andOrderNumBetween(String value1, String value2) {
            addCriterion("order_num between", value1, value2, "orderNum");
            return (Criteria) this;
        }

        public Criteria andOrderNumNotBetween(String value1, String value2) {
            addCriterion("order_num not between", value1, value2, "orderNum");
            return (Criteria) this;
        }

        public Criteria andOutOrderNumIsNull() {
            addCriterion("out_order_num is null");
            return (Criteria) this;
        }

        public Criteria andOutOrderNumIsNotNull() {
            addCriterion("out_order_num is not null");
            return (Criteria) this;
        }

        public Criteria andOutOrderNumEqualTo(String value) {
            addCriterion("out_order_num =", value, "outOrderNum");
            return (Criteria) this;
        }

        public Criteria andOutOrderNumNotEqualTo(String value) {
            addCriterion("out_order_num <>", value, "outOrderNum");
            return (Criteria) this;
        }

        public Criteria andOutOrderNumGreaterThan(String value) {
            addCriterion("out_order_num >", value, "outOrderNum");
            return (Criteria) this;
        }

        public Criteria andOutOrderNumGreaterThanOrEqualTo(String value) {
            addCriterion("out_order_num >=", value, "outOrderNum");
            return (Criteria) this;
        }

        public Criteria andOutOrderNumLessThan(String value) {
            addCriterion("out_order_num <", value, "outOrderNum");
            return (Criteria) this;
        }

        public Criteria andOutOrderNumLessThanOrEqualTo(String value) {
            addCriterion("out_order_num <=", value, "outOrderNum");
            return (Criteria) this;
        }

        public Criteria andOutOrderNumLike(String value) {
            addCriterion("out_order_num like", value, "outOrderNum");
            return (Criteria) this;
        }

        public Criteria andOutOrderNumNotLike(String value) {
            addCriterion("out_order_num not like", value, "outOrderNum");
            return (Criteria) this;
        }

        public Criteria andOutOrderNumIn(List<String> values) {
            addCriterion("out_order_num in", values, "outOrderNum");
            return (Criteria) this;
        }

        public Criteria andOutOrderNumNotIn(List<String> values) {
            addCriterion("out_order_num not in", values, "outOrderNum");
            return (Criteria) this;
        }

        public Criteria andOutOrderNumBetween(String value1, String value2) {
            addCriterion("out_order_num between", value1, value2, "outOrderNum");
            return (Criteria) this;
        }

        public Criteria andOutOrderNumNotBetween(String value1, String value2) {
            addCriterion("out_order_num not between", value1, value2, "outOrderNum");
            return (Criteria) this;
        }

        public Criteria andDriverIdIsNull() {
            addCriterion("driver_id is null");
            return (Criteria) this;
        }

        public Criteria andDriverIdIsNotNull() {
            addCriterion("driver_id is not null");
            return (Criteria) this;
        }

        public Criteria andDriverIdEqualTo(String value) {
            addCriterion("driver_id =", value, "driverId");
            return (Criteria) this;
        }

        public Criteria andDriverIdNotEqualTo(String value) {
            addCriterion("driver_id <>", value, "driverId");
            return (Criteria) this;
        }

        public Criteria andDriverIdGreaterThan(String value) {
            addCriterion("driver_id >", value, "driverId");
            return (Criteria) this;
        }

        public Criteria andDriverIdGreaterThanOrEqualTo(String value) {
            addCriterion("driver_id >=", value, "driverId");
            return (Criteria) this;
        }

        public Criteria andDriverIdLessThan(String value) {
            addCriterion("driver_id <", value, "driverId");
            return (Criteria) this;
        }

        public Criteria andDriverIdLessThanOrEqualTo(String value) {
            addCriterion("driver_id <=", value, "driverId");
            return (Criteria) this;
        }

        public Criteria andDriverIdLike(String value) {
            addCriterion("driver_id like", value, "driverId");
            return (Criteria) this;
        }

        public Criteria andDriverIdNotLike(String value) {
            addCriterion("driver_id not like", value, "driverId");
            return (Criteria) this;
        }

        public Criteria andDriverIdIn(List<String> values) {
            addCriterion("driver_id in", values, "driverId");
            return (Criteria) this;
        }

        public Criteria andDriverIdNotIn(List<String> values) {
            addCriterion("driver_id not in", values, "driverId");
            return (Criteria) this;
        }

        public Criteria andDriverIdBetween(String value1, String value2) {
            addCriterion("driver_id between", value1, value2, "driverId");
            return (Criteria) this;
        }

        public Criteria andDriverIdNotBetween(String value1, String value2) {
            addCriterion("driver_id not between", value1, value2, "driverId");
            return (Criteria) this;
        }

        public Criteria andCarNumIsNull() {
            addCriterion("car_num is null");
            return (Criteria) this;
        }

        public Criteria andCarNumIsNotNull() {
            addCriterion("car_num is not null");
            return (Criteria) this;
        }

        public Criteria andCarNumEqualTo(String value) {
            addCriterion("car_num =", value, "carNum");
            return (Criteria) this;
        }

        public Criteria andCarNumNotEqualTo(String value) {
            addCriterion("car_num <>", value, "carNum");
            return (Criteria) this;
        }

        public Criteria andCarNumGreaterThan(String value) {
            addCriterion("car_num >", value, "carNum");
            return (Criteria) this;
        }

        public Criteria andCarNumGreaterThanOrEqualTo(String value) {
            addCriterion("car_num >=", value, "carNum");
            return (Criteria) this;
        }

        public Criteria andCarNumLessThan(String value) {
            addCriterion("car_num <", value, "carNum");
            return (Criteria) this;
        }

        public Criteria andCarNumLessThanOrEqualTo(String value) {
            addCriterion("car_num <=", value, "carNum");
            return (Criteria) this;
        }

        public Criteria andCarNumLike(String value) {
            addCriterion("car_num like", value, "carNum");
            return (Criteria) this;
        }

        public Criteria andCarNumNotLike(String value) {
            addCriterion("car_num not like", value, "carNum");
            return (Criteria) this;
        }

        public Criteria andCarNumIn(List<String> values) {
            addCriterion("car_num in", values, "carNum");
            return (Criteria) this;
        }

        public Criteria andCarNumNotIn(List<String> values) {
            addCriterion("car_num not in", values, "carNum");
            return (Criteria) this;
        }

        public Criteria andCarNumBetween(String value1, String value2) {
            addCriterion("car_num between", value1, value2, "carNum");
            return (Criteria) this;
        }

        public Criteria andCarNumNotBetween(String value1, String value2) {
            addCriterion("car_num not between", value1, value2, "carNum");
            return (Criteria) this;
        }

        public Criteria andCarVinIsNull() {
            addCriterion("car_vin is null");
            return (Criteria) this;
        }

        public Criteria andCarVinIsNotNull() {
            addCriterion("car_vin is not null");
            return (Criteria) this;
        }

        public Criteria andCarVinEqualTo(String value) {
            addCriterion("car_vin =", value, "carVin");
            return (Criteria) this;
        }

        public Criteria andCarVinNotEqualTo(String value) {
            addCriterion("car_vin <>", value, "carVin");
            return (Criteria) this;
        }

        public Criteria andCarVinGreaterThan(String value) {
            addCriterion("car_vin >", value, "carVin");
            return (Criteria) this;
        }

        public Criteria andCarVinGreaterThanOrEqualTo(String value) {
            addCriterion("car_vin >=", value, "carVin");
            return (Criteria) this;
        }

        public Criteria andCarVinLessThan(String value) {
            addCriterion("car_vin <", value, "carVin");
            return (Criteria) this;
        }

        public Criteria andCarVinLessThanOrEqualTo(String value) {
            addCriterion("car_vin <=", value, "carVin");
            return (Criteria) this;
        }

        public Criteria andCarVinLike(String value) {
            addCriterion("car_vin like", value, "carVin");
            return (Criteria) this;
        }

        public Criteria andCarVinNotLike(String value) {
            addCriterion("car_vin not like", value, "carVin");
            return (Criteria) this;
        }

        public Criteria andCarVinIn(List<String> values) {
            addCriterion("car_vin in", values, "carVin");
            return (Criteria) this;
        }

        public Criteria andCarVinNotIn(List<String> values) {
            addCriterion("car_vin not in", values, "carVin");
            return (Criteria) this;
        }

        public Criteria andCarVinBetween(String value1, String value2) {
            addCriterion("car_vin between", value1, value2, "carVin");
            return (Criteria) this;
        }

        public Criteria andCarVinNotBetween(String value1, String value2) {
            addCriterion("car_vin not between", value1, value2, "carVin");
            return (Criteria) this;
        }

        public Criteria andCarTypeIsNull() {
            addCriterion("car_type is null");
            return (Criteria) this;
        }

        public Criteria andCarTypeIsNotNull() {
            addCriterion("car_type is not null");
            return (Criteria) this;
        }

        public Criteria andCarTypeEqualTo(String value) {
            addCriterion("car_type =", value, "carType");
            return (Criteria) this;
        }

        public Criteria andCarTypeNotEqualTo(String value) {
            addCriterion("car_type <>", value, "carType");
            return (Criteria) this;
        }

        public Criteria andCarTypeGreaterThan(String value) {
            addCriterion("car_type >", value, "carType");
            return (Criteria) this;
        }

        public Criteria andCarTypeGreaterThanOrEqualTo(String value) {
            addCriterion("car_type >=", value, "carType");
            return (Criteria) this;
        }

        public Criteria andCarTypeLessThan(String value) {
            addCriterion("car_type <", value, "carType");
            return (Criteria) this;
        }

        public Criteria andCarTypeLessThanOrEqualTo(String value) {
            addCriterion("car_type <=", value, "carType");
            return (Criteria) this;
        }

        public Criteria andCarTypeLike(String value) {
            addCriterion("car_type like", value, "carType");
            return (Criteria) this;
        }

        public Criteria andCarTypeNotLike(String value) {
            addCriterion("car_type not like", value, "carType");
            return (Criteria) this;
        }

        public Criteria andCarTypeIn(List<String> values) {
            addCriterion("car_type in", values, "carType");
            return (Criteria) this;
        }

        public Criteria andCarTypeNotIn(List<String> values) {
            addCriterion("car_type not in", values, "carType");
            return (Criteria) this;
        }

        public Criteria andCarTypeBetween(String value1, String value2) {
            addCriterion("car_type between", value1, value2, "carType");
            return (Criteria) this;
        }

        public Criteria andCarTypeNotBetween(String value1, String value2) {
            addCriterion("car_type not between", value1, value2, "carType");
            return (Criteria) this;
        }

        public Criteria andElecPricesIsNull() {
            addCriterion("elec_prices is null");
            return (Criteria) this;
        }

        public Criteria andElecPricesIsNotNull() {
            addCriterion("elec_prices is not null");
            return (Criteria) this;
        }

        public Criteria andElecPricesEqualTo(String value) {
            addCriterion("elec_prices =", value, "elecPrices");
            return (Criteria) this;
        }

        public Criteria andElecPricesNotEqualTo(String value) {
            addCriterion("elec_prices <>", value, "elecPrices");
            return (Criteria) this;
        }

        public Criteria andElecPricesGreaterThan(String value) {
            addCriterion("elec_prices >", value, "elecPrices");
            return (Criteria) this;
        }

        public Criteria andElecPricesGreaterThanOrEqualTo(String value) {
            addCriterion("elec_prices >=", value, "elecPrices");
            return (Criteria) this;
        }

        public Criteria andElecPricesLessThan(String value) {
            addCriterion("elec_prices <", value, "elecPrices");
            return (Criteria) this;
        }

        public Criteria andElecPricesLessThanOrEqualTo(String value) {
            addCriterion("elec_prices <=", value, "elecPrices");
            return (Criteria) this;
        }

        public Criteria andElecPricesLike(String value) {
            addCriterion("elec_prices like", value, "elecPrices");
            return (Criteria) this;
        }

        public Criteria andElecPricesNotLike(String value) {
            addCriterion("elec_prices not like", value, "elecPrices");
            return (Criteria) this;
        }

        public Criteria andElecPricesIn(List<String> values) {
            addCriterion("elec_prices in", values, "elecPrices");
            return (Criteria) this;
        }

        public Criteria andElecPricesNotIn(List<String> values) {
            addCriterion("elec_prices not in", values, "elecPrices");
            return (Criteria) this;
        }

        public Criteria andElecPricesBetween(String value1, String value2) {
            addCriterion("elec_prices between", value1, value2, "elecPrices");
            return (Criteria) this;
        }

        public Criteria andElecPricesNotBetween(String value1, String value2) {
            addCriterion("elec_prices not between", value1, value2, "elecPrices");
            return (Criteria) this;
        }

        public Criteria andServicePricesIsNull() {
            addCriterion("service_prices is null");
            return (Criteria) this;
        }

        public Criteria andServicePricesIsNotNull() {
            addCriterion("service_prices is not null");
            return (Criteria) this;
        }

        public Criteria andServicePricesEqualTo(String value) {
            addCriterion("service_prices =", value, "servicePrices");
            return (Criteria) this;
        }

        public Criteria andServicePricesNotEqualTo(String value) {
            addCriterion("service_prices <>", value, "servicePrices");
            return (Criteria) this;
        }

        public Criteria andServicePricesGreaterThan(String value) {
            addCriterion("service_prices >", value, "servicePrices");
            return (Criteria) this;
        }

        public Criteria andServicePricesGreaterThanOrEqualTo(String value) {
            addCriterion("service_prices >=", value, "servicePrices");
            return (Criteria) this;
        }

        public Criteria andServicePricesLessThan(String value) {
            addCriterion("service_prices <", value, "servicePrices");
            return (Criteria) this;
        }

        public Criteria andServicePricesLessThanOrEqualTo(String value) {
            addCriterion("service_prices <=", value, "servicePrices");
            return (Criteria) this;
        }

        public Criteria andServicePricesLike(String value) {
            addCriterion("service_prices like", value, "servicePrices");
            return (Criteria) this;
        }

        public Criteria andServicePricesNotLike(String value) {
            addCriterion("service_prices not like", value, "servicePrices");
            return (Criteria) this;
        }

        public Criteria andServicePricesIn(List<String> values) {
            addCriterion("service_prices in", values, "servicePrices");
            return (Criteria) this;
        }

        public Criteria andServicePricesNotIn(List<String> values) {
            addCriterion("service_prices not in", values, "servicePrices");
            return (Criteria) this;
        }

        public Criteria andServicePricesBetween(String value1, String value2) {
            addCriterion("service_prices between", value1, value2, "servicePrices");
            return (Criteria) this;
        }

        public Criteria andServicePricesNotBetween(String value1, String value2) {
            addCriterion("service_prices not between", value1, value2, "servicePrices");
            return (Criteria) this;
        }

        public Criteria andTicketUsingTypeIsNull() {
            addCriterion("ticket_using_type is null");
            return (Criteria) this;
        }

        public Criteria andTicketUsingTypeIsNotNull() {
            addCriterion("ticket_using_type is not null");
            return (Criteria) this;
        }

        public Criteria andTicketUsingTypeEqualTo(String value) {
            addCriterion("ticket_using_type =", value, "ticketUsingType");
            return (Criteria) this;
        }

        public Criteria andTicketUsingTypeNotEqualTo(String value) {
            addCriterion("ticket_using_type <>", value, "ticketUsingType");
            return (Criteria) this;
        }

        public Criteria andTicketUsingTypeGreaterThan(String value) {
            addCriterion("ticket_using_type >", value, "ticketUsingType");
            return (Criteria) this;
        }

        public Criteria andTicketUsingTypeGreaterThanOrEqualTo(String value) {
            addCriterion("ticket_using_type >=", value, "ticketUsingType");
            return (Criteria) this;
        }

        public Criteria andTicketUsingTypeLessThan(String value) {
            addCriterion("ticket_using_type <", value, "ticketUsingType");
            return (Criteria) this;
        }

        public Criteria andTicketUsingTypeLessThanOrEqualTo(String value) {
            addCriterion("ticket_using_type <=", value, "ticketUsingType");
            return (Criteria) this;
        }

        public Criteria andTicketUsingTypeLike(String value) {
            addCriterion("ticket_using_type like", value, "ticketUsingType");
            return (Criteria) this;
        }

        public Criteria andTicketUsingTypeNotLike(String value) {
            addCriterion("ticket_using_type not like", value, "ticketUsingType");
            return (Criteria) this;
        }

        public Criteria andTicketUsingTypeIn(List<String> values) {
            addCriterion("ticket_using_type in", values, "ticketUsingType");
            return (Criteria) this;
        }

        public Criteria andTicketUsingTypeNotIn(List<String> values) {
            addCriterion("ticket_using_type not in", values, "ticketUsingType");
            return (Criteria) this;
        }

        public Criteria andTicketUsingTypeBetween(String value1, String value2) {
            addCriterion("ticket_using_type between", value1, value2, "ticketUsingType");
            return (Criteria) this;
        }

        public Criteria andTicketUsingTypeNotBetween(String value1, String value2) {
            addCriterion("ticket_using_type not between", value1, value2, "ticketUsingType");
            return (Criteria) this;
        }

        public Criteria andOrderSourceIsNull() {
            addCriterion("order_source is null");
            return (Criteria) this;
        }

        public Criteria andOrderSourceIsNotNull() {
            addCriterion("order_source is not null");
            return (Criteria) this;
        }

        public Criteria andOrderSourceEqualTo(String value) {
            addCriterion("order_source =", value, "orderSource");
            return (Criteria) this;
        }

        public Criteria andOrderSourceNotEqualTo(String value) {
            addCriterion("order_source <>", value, "orderSource");
            return (Criteria) this;
        }

        public Criteria andOrderSourceGreaterThan(String value) {
            addCriterion("order_source >", value, "orderSource");
            return (Criteria) this;
        }

        public Criteria andOrderSourceGreaterThanOrEqualTo(String value) {
            addCriterion("order_source >=", value, "orderSource");
            return (Criteria) this;
        }

        public Criteria andOrderSourceLessThan(String value) {
            addCriterion("order_source <", value, "orderSource");
            return (Criteria) this;
        }

        public Criteria andOrderSourceLessThanOrEqualTo(String value) {
            addCriterion("order_source <=", value, "orderSource");
            return (Criteria) this;
        }

        public Criteria andOrderSourceLike(String value) {
            addCriterion("order_source like", value, "orderSource");
            return (Criteria) this;
        }

        public Criteria andOrderSourceNotLike(String value) {
            addCriterion("order_source not like", value, "orderSource");
            return (Criteria) this;
        }

        public Criteria andOrderSourceIn(List<String> values) {
            addCriterion("order_source in", values, "orderSource");
            return (Criteria) this;
        }

        public Criteria andOrderSourceNotIn(List<String> values) {
            addCriterion("order_source not in", values, "orderSource");
            return (Criteria) this;
        }

        public Criteria andOrderSourceBetween(String value1, String value2) {
            addCriterion("order_source between", value1, value2, "orderSource");
            return (Criteria) this;
        }

        public Criteria andOrderSourceNotBetween(String value1, String value2) {
            addCriterion("order_source not between", value1, value2, "orderSource");
            return (Criteria) this;
        }

        public Criteria andStartTypeIsNull() {
            addCriterion("start_type is null");
            return (Criteria) this;
        }

        public Criteria andStartTypeIsNotNull() {
            addCriterion("start_type is not null");
            return (Criteria) this;
        }

        public Criteria andStartTypeEqualTo(String value) {
            addCriterion("start_type =", value, "startType");
            return (Criteria) this;
        }

        public Criteria andStartTypeNotEqualTo(String value) {
            addCriterion("start_type <>", value, "startType");
            return (Criteria) this;
        }

        public Criteria andStartTypeGreaterThan(String value) {
            addCriterion("start_type >", value, "startType");
            return (Criteria) this;
        }

        public Criteria andStartTypeGreaterThanOrEqualTo(String value) {
            addCriterion("start_type >=", value, "startType");
            return (Criteria) this;
        }

        public Criteria andStartTypeLessThan(String value) {
            addCriterion("start_type <", value, "startType");
            return (Criteria) this;
        }

        public Criteria andStartTypeLessThanOrEqualTo(String value) {
            addCriterion("start_type <=", value, "startType");
            return (Criteria) this;
        }

        public Criteria andStartTypeLike(String value) {
            addCriterion("start_type like", value, "startType");
            return (Criteria) this;
        }

        public Criteria andStartTypeNotLike(String value) {
            addCriterion("start_type not like", value, "startType");
            return (Criteria) this;
        }

        public Criteria andStartTypeIn(List<String> values) {
            addCriterion("start_type in", values, "startType");
            return (Criteria) this;
        }

        public Criteria andStartTypeNotIn(List<String> values) {
            addCriterion("start_type not in", values, "startType");
            return (Criteria) this;
        }

        public Criteria andStartTypeBetween(String value1, String value2) {
            addCriterion("start_type between", value1, value2, "startType");
            return (Criteria) this;
        }

        public Criteria andStartTypeNotBetween(String value1, String value2) {
            addCriterion("start_type not between", value1, value2, "startType");
            return (Criteria) this;
        }

        public Criteria andHlhtOrderTypeIsNull() {
            addCriterion("hlht_order_type is null");
            return (Criteria) this;
        }

        public Criteria andHlhtOrderTypeIsNotNull() {
            addCriterion("hlht_order_type is not null");
            return (Criteria) this;
        }

        public Criteria andHlhtOrderTypeEqualTo(String value) {
            addCriterion("hlht_order_type =", value, "hlhtOrderType");
            return (Criteria) this;
        }

        public Criteria andHlhtOrderTypeNotEqualTo(String value) {
            addCriterion("hlht_order_type <>", value, "hlhtOrderType");
            return (Criteria) this;
        }

        public Criteria andHlhtOrderTypeGreaterThan(String value) {
            addCriterion("hlht_order_type >", value, "hlhtOrderType");
            return (Criteria) this;
        }

        public Criteria andHlhtOrderTypeGreaterThanOrEqualTo(String value) {
            addCriterion("hlht_order_type >=", value, "hlhtOrderType");
            return (Criteria) this;
        }

        public Criteria andHlhtOrderTypeLessThan(String value) {
            addCriterion("hlht_order_type <", value, "hlhtOrderType");
            return (Criteria) this;
        }

        public Criteria andHlhtOrderTypeLessThanOrEqualTo(String value) {
            addCriterion("hlht_order_type <=", value, "hlhtOrderType");
            return (Criteria) this;
        }

        public Criteria andHlhtOrderTypeLike(String value) {
            addCriterion("hlht_order_type like", value, "hlhtOrderType");
            return (Criteria) this;
        }

        public Criteria andHlhtOrderTypeNotLike(String value) {
            addCriterion("hlht_order_type not like", value, "hlhtOrderType");
            return (Criteria) this;
        }

        public Criteria andHlhtOrderTypeIn(List<String> values) {
            addCriterion("hlht_order_type in", values, "hlhtOrderType");
            return (Criteria) this;
        }

        public Criteria andHlhtOrderTypeNotIn(List<String> values) {
            addCriterion("hlht_order_type not in", values, "hlhtOrderType");
            return (Criteria) this;
        }

        public Criteria andHlhtOrderTypeBetween(String value1, String value2) {
            addCriterion("hlht_order_type between", value1, value2, "hlhtOrderType");
            return (Criteria) this;
        }

        public Criteria andHlhtOrderTypeNotBetween(String value1, String value2) {
            addCriterion("hlht_order_type not between", value1, value2, "hlhtOrderType");
            return (Criteria) this;
        }

        public Criteria andHlhtOrderStatusIsNull() {
            addCriterion("hlht_order_status is null");
            return (Criteria) this;
        }

        public Criteria andHlhtOrderStatusIsNotNull() {
            addCriterion("hlht_order_status is not null");
            return (Criteria) this;
        }

        public Criteria andHlhtOrderStatusEqualTo(String value) {
            addCriterion("hlht_order_status =", value, "hlhtOrderStatus");
            return (Criteria) this;
        }

        public Criteria andHlhtOrderStatusNotEqualTo(String value) {
            addCriterion("hlht_order_status <>", value, "hlhtOrderStatus");
            return (Criteria) this;
        }

        public Criteria andHlhtOrderStatusGreaterThan(String value) {
            addCriterion("hlht_order_status >", value, "hlhtOrderStatus");
            return (Criteria) this;
        }

        public Criteria andHlhtOrderStatusGreaterThanOrEqualTo(String value) {
            addCriterion("hlht_order_status >=", value, "hlhtOrderStatus");
            return (Criteria) this;
        }

        public Criteria andHlhtOrderStatusLessThan(String value) {
            addCriterion("hlht_order_status <", value, "hlhtOrderStatus");
            return (Criteria) this;
        }

        public Criteria andHlhtOrderStatusLessThanOrEqualTo(String value) {
            addCriterion("hlht_order_status <=", value, "hlhtOrderStatus");
            return (Criteria) this;
        }

        public Criteria andHlhtOrderStatusLike(String value) {
            addCriterion("hlht_order_status like", value, "hlhtOrderStatus");
            return (Criteria) this;
        }

        public Criteria andHlhtOrderStatusNotLike(String value) {
            addCriterion("hlht_order_status not like", value, "hlhtOrderStatus");
            return (Criteria) this;
        }

        public Criteria andHlhtOrderStatusIn(List<String> values) {
            addCriterion("hlht_order_status in", values, "hlhtOrderStatus");
            return (Criteria) this;
        }

        public Criteria andHlhtOrderStatusNotIn(List<String> values) {
            addCriterion("hlht_order_status not in", values, "hlhtOrderStatus");
            return (Criteria) this;
        }

        public Criteria andHlhtOrderStatusBetween(String value1, String value2) {
            addCriterion("hlht_order_status between", value1, value2, "hlhtOrderStatus");
            return (Criteria) this;
        }

        public Criteria andHlhtOrderStatusNotBetween(String value1, String value2) {
            addCriterion("hlht_order_status not between", value1, value2, "hlhtOrderStatus");
            return (Criteria) this;
        }

        public Criteria andCreatedByIsNull() {
            addCriterion("created_by is null");
            return (Criteria) this;
        }

        public Criteria andCreatedByIsNotNull() {
            addCriterion("created_by is not null");
            return (Criteria) this;
        }

        public Criteria andCreatedByEqualTo(String value) {
            addCriterion("created_by =", value, "createdBy");
            return (Criteria) this;
        }

        public Criteria andCreatedByNotEqualTo(String value) {
            addCriterion("created_by <>", value, "createdBy");
            return (Criteria) this;
        }

        public Criteria andCreatedByGreaterThan(String value) {
            addCriterion("created_by >", value, "createdBy");
            return (Criteria) this;
        }

        public Criteria andCreatedByGreaterThanOrEqualTo(String value) {
            addCriterion("created_by >=", value, "createdBy");
            return (Criteria) this;
        }

        public Criteria andCreatedByLessThan(String value) {
            addCriterion("created_by <", value, "createdBy");
            return (Criteria) this;
        }

        public Criteria andCreatedByLessThanOrEqualTo(String value) {
            addCriterion("created_by <=", value, "createdBy");
            return (Criteria) this;
        }

        public Criteria andCreatedByLike(String value) {
            addCriterion("created_by like", value, "createdBy");
            return (Criteria) this;
        }

        public Criteria andCreatedByNotLike(String value) {
            addCriterion("created_by not like", value, "createdBy");
            return (Criteria) this;
        }

        public Criteria andCreatedByIn(List<String> values) {
            addCriterion("created_by in", values, "createdBy");
            return (Criteria) this;
        }

        public Criteria andCreatedByNotIn(List<String> values) {
            addCriterion("created_by not in", values, "createdBy");
            return (Criteria) this;
        }

        public Criteria andCreatedByBetween(String value1, String value2) {
            addCriterion("created_by between", value1, value2, "createdBy");
            return (Criteria) this;
        }

        public Criteria andCreatedByNotBetween(String value1, String value2) {
            addCriterion("created_by not between", value1, value2, "createdBy");
            return (Criteria) this;
        }

        public Criteria andCreatedTimeIsNull() {
            addCriterion("created_time is null");
            return (Criteria) this;
        }

        public Criteria andCreatedTimeIsNotNull() {
            addCriterion("created_time is not null");
            return (Criteria) this;
        }

        public Criteria andCreatedTimeEqualTo(Date value) {
            addCriterion("created_time =", value, "createdTime");
            return (Criteria) this;
        }

        public Criteria andCreatedTimeNotEqualTo(Date value) {
            addCriterion("created_time <>", value, "createdTime");
            return (Criteria) this;
        }

        public Criteria andCreatedTimeGreaterThan(Date value) {
            addCriterion("created_time >", value, "createdTime");
            return (Criteria) this;
        }

        public Criteria andCreatedTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("created_time >=", value, "createdTime");
            return (Criteria) this;
        }

        public Criteria andCreatedTimeLessThan(Date value) {
            addCriterion("created_time <", value, "createdTime");
            return (Criteria) this;
        }

        public Criteria andCreatedTimeLessThanOrEqualTo(Date value) {
            addCriterion("created_time <=", value, "createdTime");
            return (Criteria) this;
        }

        public Criteria andCreatedTimeIn(List<Date> values) {
            addCriterion("created_time in", values, "createdTime");
            return (Criteria) this;
        }

        public Criteria andCreatedTimeNotIn(List<Date> values) {
            addCriterion("created_time not in", values, "createdTime");
            return (Criteria) this;
        }

        public Criteria andCreatedTimeBetween(Date value1, Date value2) {
            addCriterion("created_time between", value1, value2, "createdTime");
            return (Criteria) this;
        }

        public Criteria andCreatedTimeNotBetween(Date value1, Date value2) {
            addCriterion("created_time not between", value1, value2, "createdTime");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedByIsNull() {
            addCriterion("last_updated_by is null");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedByIsNotNull() {
            addCriterion("last_updated_by is not null");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedByEqualTo(String value) {
            addCriterion("last_updated_by =", value, "lastUpdatedBy");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedByNotEqualTo(String value) {
            addCriterion("last_updated_by <>", value, "lastUpdatedBy");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedByGreaterThan(String value) {
            addCriterion("last_updated_by >", value, "lastUpdatedBy");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedByGreaterThanOrEqualTo(String value) {
            addCriterion("last_updated_by >=", value, "lastUpdatedBy");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedByLessThan(String value) {
            addCriterion("last_updated_by <", value, "lastUpdatedBy");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedByLessThanOrEqualTo(String value) {
            addCriterion("last_updated_by <=", value, "lastUpdatedBy");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedByLike(String value) {
            addCriterion("last_updated_by like", value, "lastUpdatedBy");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedByNotLike(String value) {
            addCriterion("last_updated_by not like", value, "lastUpdatedBy");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedByIn(List<String> values) {
            addCriterion("last_updated_by in", values, "lastUpdatedBy");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedByNotIn(List<String> values) {
            addCriterion("last_updated_by not in", values, "lastUpdatedBy");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedByBetween(String value1, String value2) {
            addCriterion("last_updated_by between", value1, value2, "lastUpdatedBy");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedByNotBetween(String value1, String value2) {
            addCriterion("last_updated_by not between", value1, value2, "lastUpdatedBy");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedTimeIsNull() {
            addCriterion("last_updated_time is null");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedTimeIsNotNull() {
            addCriterion("last_updated_time is not null");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedTimeEqualTo(Date value) {
            addCriterion("last_updated_time =", value, "lastUpdatedTime");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedTimeNotEqualTo(Date value) {
            addCriterion("last_updated_time <>", value, "lastUpdatedTime");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedTimeGreaterThan(Date value) {
            addCriterion("last_updated_time >", value, "lastUpdatedTime");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("last_updated_time >=", value, "lastUpdatedTime");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedTimeLessThan(Date value) {
            addCriterion("last_updated_time <", value, "lastUpdatedTime");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedTimeLessThanOrEqualTo(Date value) {
            addCriterion("last_updated_time <=", value, "lastUpdatedTime");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedTimeIn(List<Date> values) {
            addCriterion("last_updated_time in", values, "lastUpdatedTime");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedTimeNotIn(List<Date> values) {
            addCriterion("last_updated_time not in", values, "lastUpdatedTime");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedTimeBetween(Date value1, Date value2) {
            addCriterion("last_updated_time between", value1, value2, "lastUpdatedTime");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedTimeNotBetween(Date value1, Date value2) {
            addCriterion("last_updated_time not between", value1, value2, "lastUpdatedTime");
            return (Criteria) this;
        }

        public Criteria andChargingPolicyIsNull() {
            addCriterion("charging_policy is null");
            return (Criteria) this;
        }

        public Criteria andChargingPolicyIsNotNull() {
            addCriterion("charging_policy is not null");
            return (Criteria) this;
        }

        public Criteria andChargingPolicyEqualTo(String value) {
            addCriterion("charging_policy =", value, "chargingPolicy");
            return (Criteria) this;
        }

        public Criteria andChargingPolicyNotEqualTo(String value) {
            addCriterion("charging_policy <>", value, "chargingPolicy");
            return (Criteria) this;
        }

        public Criteria andChargingPolicyGreaterThan(String value) {
            addCriterion("charging_policy >", value, "chargingPolicy");
            return (Criteria) this;
        }

        public Criteria andChargingPolicyGreaterThanOrEqualTo(String value) {
            addCriterion("charging_policy >=", value, "chargingPolicy");
            return (Criteria) this;
        }

        public Criteria andChargingPolicyLessThan(String value) {
            addCriterion("charging_policy <", value, "chargingPolicy");
            return (Criteria) this;
        }

        public Criteria andChargingPolicyLessThanOrEqualTo(String value) {
            addCriterion("charging_policy <=", value, "chargingPolicy");
            return (Criteria) this;
        }

        public Criteria andChargingPolicyLike(String value) {
            addCriterion("charging_policy like", value, "chargingPolicy");
            return (Criteria) this;
        }

        public Criteria andChargingPolicyNotLike(String value) {
            addCriterion("charging_policy not like", value, "chargingPolicy");
            return (Criteria) this;
        }

        public Criteria andChargingPolicyIn(List<String> values) {
            addCriterion("charging_policy in", values, "chargingPolicy");
            return (Criteria) this;
        }

        public Criteria andChargingPolicyNotIn(List<String> values) {
            addCriterion("charging_policy not in", values, "chargingPolicy");
            return (Criteria) this;
        }

        public Criteria andChargingPolicyBetween(String value1, String value2) {
            addCriterion("charging_policy between", value1, value2, "chargingPolicy");
            return (Criteria) this;
        }

        public Criteria andChargingPolicyNotBetween(String value1, String value2) {
            addCriterion("charging_policy not between", value1, value2, "chargingPolicy");
            return (Criteria) this;
        }

        public Criteria andChargingPolicyParmIsNull() {
            addCriterion("charging_policy_parm is null");
            return (Criteria) this;
        }

        public Criteria andChargingPolicyParmIsNotNull() {
            addCriterion("charging_policy_parm is not null");
            return (Criteria) this;
        }

        public Criteria andChargingPolicyParmEqualTo(String value) {
            addCriterion("charging_policy_parm =", value, "chargingPolicyParm");
            return (Criteria) this;
        }

        public Criteria andChargingPolicyParmNotEqualTo(String value) {
            addCriterion("charging_policy_parm <>", value, "chargingPolicyParm");
            return (Criteria) this;
        }

        public Criteria andChargingPolicyParmGreaterThan(String value) {
            addCriterion("charging_policy_parm >", value, "chargingPolicyParm");
            return (Criteria) this;
        }

        public Criteria andChargingPolicyParmGreaterThanOrEqualTo(String value) {
            addCriterion("charging_policy_parm >=", value, "chargingPolicyParm");
            return (Criteria) this;
        }

        public Criteria andChargingPolicyParmLessThan(String value) {
            addCriterion("charging_policy_parm <", value, "chargingPolicyParm");
            return (Criteria) this;
        }

        public Criteria andChargingPolicyParmLessThanOrEqualTo(String value) {
            addCriterion("charging_policy_parm <=", value, "chargingPolicyParm");
            return (Criteria) this;
        }

        public Criteria andChargingPolicyParmLike(String value) {
            addCriterion("charging_policy_parm like", value, "chargingPolicyParm");
            return (Criteria) this;
        }

        public Criteria andChargingPolicyParmNotLike(String value) {
            addCriterion("charging_policy_parm not like", value, "chargingPolicyParm");
            return (Criteria) this;
        }

        public Criteria andChargingPolicyParmIn(List<String> values) {
            addCriterion("charging_policy_parm in", values, "chargingPolicyParm");
            return (Criteria) this;
        }

        public Criteria andChargingPolicyParmNotIn(List<String> values) {
            addCriterion("charging_policy_parm not in", values, "chargingPolicyParm");
            return (Criteria) this;
        }

        public Criteria andChargingPolicyParmBetween(String value1, String value2) {
            addCriterion("charging_policy_parm between", value1, value2, "chargingPolicyParm");
            return (Criteria) this;
        }

        public Criteria andChargingPolicyParmNotBetween(String value1, String value2) {
            addCriterion("charging_policy_parm not between", value1, value2, "chargingPolicyParm");
            return (Criteria) this;
        }

        public Criteria andMemberTicketIdsIsNull() {
            addCriterion("member_ticket_ids is null");
            return (Criteria) this;
        }

        public Criteria andMemberTicketIdsIsNotNull() {
            addCriterion("member_ticket_ids is not null");
            return (Criteria) this;
        }

        public Criteria andMemberTicketIdsEqualTo(String value) {
            addCriterion("member_ticket_ids =", value, "memberTicketIds");
            return (Criteria) this;
        }

        public Criteria andMemberTicketIdsNotEqualTo(String value) {
            addCriterion("member_ticket_ids <>", value, "memberTicketIds");
            return (Criteria) this;
        }

        public Criteria andMemberTicketIdsGreaterThan(String value) {
            addCriterion("member_ticket_ids >", value, "memberTicketIds");
            return (Criteria) this;
        }

        public Criteria andMemberTicketIdsGreaterThanOrEqualTo(String value) {
            addCriterion("member_ticket_ids >=", value, "memberTicketIds");
            return (Criteria) this;
        }

        public Criteria andMemberTicketIdsLessThan(String value) {
            addCriterion("member_ticket_ids <", value, "memberTicketIds");
            return (Criteria) this;
        }

        public Criteria andMemberTicketIdsLessThanOrEqualTo(String value) {
            addCriterion("member_ticket_ids <=", value, "memberTicketIds");
            return (Criteria) this;
        }

        public Criteria andMemberTicketIdsLike(String value) {
            addCriterion("member_ticket_ids like", value, "memberTicketIds");
            return (Criteria) this;
        }

        public Criteria andMemberTicketIdsNotLike(String value) {
            addCriterion("member_ticket_ids not like", value, "memberTicketIds");
            return (Criteria) this;
        }

        public Criteria andMemberTicketIdsIn(List<String> values) {
            addCriterion("member_ticket_ids in", values, "memberTicketIds");
            return (Criteria) this;
        }

        public Criteria andMemberTicketIdsNotIn(List<String> values) {
            addCriterion("member_ticket_ids not in", values, "memberTicketIds");
            return (Criteria) this;
        }

        public Criteria andMemberTicketIdsBetween(String value1, String value2) {
            addCriterion("member_ticket_ids between", value1, value2, "memberTicketIds");
            return (Criteria) this;
        }

        public Criteria andMemberTicketIdsNotBetween(String value1, String value2) {
            addCriterion("member_ticket_ids not between", value1, value2, "memberTicketIds");
            return (Criteria) this;
        }

        public Criteria andIsUseGiveAmountIsNull() {
            addCriterion("is_use_give_amount is null");
            return (Criteria) this;
        }

        public Criteria andIsUseGiveAmountIsNotNull() {
            addCriterion("is_use_give_amount is not null");
            return (Criteria) this;
        }

        public Criteria andIsUseGiveAmountEqualTo(String value) {
            addCriterion("is_use_give_amount =", value, "isUseGiveAmount");
            return (Criteria) this;
        }

        public Criteria andIsUseGiveAmountNotEqualTo(String value) {
            addCriterion("is_use_give_amount <>", value, "isUseGiveAmount");
            return (Criteria) this;
        }

        public Criteria andIsUseGiveAmountGreaterThan(String value) {
            addCriterion("is_use_give_amount >", value, "isUseGiveAmount");
            return (Criteria) this;
        }

        public Criteria andIsUseGiveAmountGreaterThanOrEqualTo(String value) {
            addCriterion("is_use_give_amount >=", value, "isUseGiveAmount");
            return (Criteria) this;
        }

        public Criteria andIsUseGiveAmountLessThan(String value) {
            addCriterion("is_use_give_amount <", value, "isUseGiveAmount");
            return (Criteria) this;
        }

        public Criteria andIsUseGiveAmountLessThanOrEqualTo(String value) {
            addCriterion("is_use_give_amount <=", value, "isUseGiveAmount");
            return (Criteria) this;
        }

        public Criteria andIsUseGiveAmountLike(String value) {
            addCriterion("is_use_give_amount like", value, "isUseGiveAmount");
            return (Criteria) this;
        }

        public Criteria andIsUseGiveAmountNotLike(String value) {
            addCriterion("is_use_give_amount not like", value, "isUseGiveAmount");
            return (Criteria) this;
        }

        public Criteria andIsUseGiveAmountIn(List<String> values) {
            addCriterion("is_use_give_amount in", values, "isUseGiveAmount");
            return (Criteria) this;
        }

        public Criteria andIsUseGiveAmountNotIn(List<String> values) {
            addCriterion("is_use_give_amount not in", values, "isUseGiveAmount");
            return (Criteria) this;
        }

        public Criteria andIsUseGiveAmountBetween(String value1, String value2) {
            addCriterion("is_use_give_amount between", value1, value2, "isUseGiveAmount");
            return (Criteria) this;
        }

        public Criteria andIsUseGiveAmountNotBetween(String value1, String value2) {
            addCriterion("is_use_give_amount not between", value1, value2, "isUseGiveAmount");
            return (Criteria) this;
        }

        public Criteria andPreAmountIsNull() {
            addCriterion("pre_amount is null");
            return (Criteria) this;
        }

        public Criteria andPreAmountIsNotNull() {
            addCriterion("pre_amount is not null");
            return (Criteria) this;
        }

        public Criteria andPreAmountEqualTo(BigDecimal value) {
            addCriterion("pre_amount =", value, "preAmount");
            return (Criteria) this;
        }

        public Criteria andPreAmountNotEqualTo(BigDecimal value) {
            addCriterion("pre_amount <>", value, "preAmount");
            return (Criteria) this;
        }

        public Criteria andPreAmountGreaterThan(BigDecimal value) {
            addCriterion("pre_amount >", value, "preAmount");
            return (Criteria) this;
        }

        public Criteria andPreAmountGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("pre_amount >=", value, "preAmount");
            return (Criteria) this;
        }

        public Criteria andPreAmountLessThan(BigDecimal value) {
            addCriterion("pre_amount <", value, "preAmount");
            return (Criteria) this;
        }

        public Criteria andPreAmountLessThanOrEqualTo(BigDecimal value) {
            addCriterion("pre_amount <=", value, "preAmount");
            return (Criteria) this;
        }

        public Criteria andPreAmountIn(List<BigDecimal> values) {
            addCriterion("pre_amount in", values, "preAmount");
            return (Criteria) this;
        }

        public Criteria andPreAmountNotIn(List<BigDecimal> values) {
            addCriterion("pre_amount not in", values, "preAmount");
            return (Criteria) this;
        }

        public Criteria andPreAmountBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("pre_amount between", value1, value2, "preAmount");
            return (Criteria) this;
        }

        public Criteria andPreAmountNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("pre_amount not between", value1, value2, "preAmount");
            return (Criteria) this;
        }

        public Criteria andRefundAmountIsNull() {
            addCriterion("refund_amount is null");
            return (Criteria) this;
        }

        public Criteria andRefundAmountIsNotNull() {
            addCriterion("refund_amount is not null");
            return (Criteria) this;
        }

        public Criteria andRefundAmountEqualTo(BigDecimal value) {
            addCriterion("refund_amount =", value, "refundAmount");
            return (Criteria) this;
        }

        public Criteria andRefundAmountNotEqualTo(BigDecimal value) {
            addCriterion("refund_amount <>", value, "refundAmount");
            return (Criteria) this;
        }

        public Criteria andRefundAmountGreaterThan(BigDecimal value) {
            addCriterion("refund_amount >", value, "refundAmount");
            return (Criteria) this;
        }

        public Criteria andRefundAmountGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("refund_amount >=", value, "refundAmount");
            return (Criteria) this;
        }

        public Criteria andRefundAmountLessThan(BigDecimal value) {
            addCriterion("refund_amount <", value, "refundAmount");
            return (Criteria) this;
        }

        public Criteria andRefundAmountLessThanOrEqualTo(BigDecimal value) {
            addCriterion("refund_amount <=", value, "refundAmount");
            return (Criteria) this;
        }

        public Criteria andRefundAmountIn(List<BigDecimal> values) {
            addCriterion("refund_amount in", values, "refundAmount");
            return (Criteria) this;
        }

        public Criteria andRefundAmountNotIn(List<BigDecimal> values) {
            addCriterion("refund_amount not in", values, "refundAmount");
            return (Criteria) this;
        }

        public Criteria andRefundAmountBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("refund_amount between", value1, value2, "refundAmount");
            return (Criteria) this;
        }

        public Criteria andRefundAmountNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("refund_amount not between", value1, value2, "refundAmount");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}